﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ink
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private int nButtonClicked = -1;
        public int getButtonClicked()
        {
            this.ShowDialog();
            return nButtonClicked;
        }
  
        private void ribbonButton1_Click(object sender, EventArgs e)
        {
            nButtonClicked = 0;
            Close();
        }

        private void ribbonButton2_Click(object sender, EventArgs e)
        {
            nButtonClicked = 1;
            Close();
        }

        private void ribbonButton3_Click(object sender, EventArgs e)
        {
            nButtonClicked = 2;
            Close();
        }

        private void ribbonButton4_Click(object sender, EventArgs e)
        {
            nButtonClicked = 3;
            Close();
        }

    }
}
